package com.ls.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("message")
public class Message {
    private Integer id;
    private String messageTitle;
    private String messageContent;
    private String messageDate;
    private String messageClass;
}

/*
	-- id 主键
    id           int(5) COLLATE utf8_bin NOT NULL auto_increment COMMENT '主键',
	-- 消息标题
    message_title   varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT '消息标题',
    -- 消息内容
	message_content   varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '消息内容',
	-- 发送日期
	message_date   varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '发送日期',
	-- 发送班级
	message_class varchar(10) COLLATE utf8_bin NOT NULL COMMENT '发送班级',
 */
